package com.yneusoft.pctask.model;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Description： 7、【新增/修改】检查部门名称是否重复
 * @Author: wbf
 * @Date: 2021/11/26 9:30
 */
@Data
public class CheckDepartmentNameExistParam {
    /**
     * aid
     */
    @NotNull(message = "参数异常！")
    private Integer aid;
    /**
     * 部门名称
     */
    @NotBlank(message = "名称不得为空！")
    private String name;
}
